import React from "react";
import { useNavigate } from "react-router-dom";
const Home: React.FC<{}> = (props) => {
  let history = useNavigate();
  return (
    <div
      onClick={() => {
        history("/test");
      }}
    >
      home页面
    </div>
  );
};
export default Home;
